package top.loveyumin1314.music.code;

/**
 * author Kerry
 * date 2017/10/10
 * desp null
 */

public enum ActionCode {

    SUCCESS(200, "成功"),
    LOGIN(20001, "登录"),
    BC_ONLINE(20002, "通知所有人,有人上线"),
    BC_ONLINE_LIST(20003, "获取所有在线列表"),
    M_LOGIN_SUCCESS(20004, "登录成功"),

    ILLEGAL(21000, "非法操作"),
    BC_LOGOUT(21001, "退出登录"),
    BC_LOGOUT_LIST(21002, "退出登录列表"),

    ADD_LOTTORY_MINE(41000, "添加抽奖自己"),
    ADD_LOTTORY(41001, "添加抽奖用户"),
    ADD_LOTTORY_SUCCESS(41002, "添加抽奖用户成功"),
    ADD_LOTTORY_FAILED(41003, "添加抽奖用户失败"),

    REMOVE_LOTTORY_MINE(42000, "移除抽奖自己"),
    REMOVE_LOTTORY(42001, "移除抽奖用户"),
    REMOVE_LOTTORY_SUCCESS(42002, "移除抽奖用户成功"),
    REMOVE_LOTTORY_FAILED(42003, "移除抽奖用户失败"),

    START_LOTTORY(40000, "开始抽奖"),
    STOP_LOTTORY(40001, "结束抽奖"),

    B_START_NOTIFY(40002, "谁开始抽奖"),

    GET_LOTTORY_LIST(43000, "获取抽奖列表"),
    LOTTORY_PROGRESS(43001, "抽奖进度"),
    LOTTORY_NO_USER(43002, "没人参加"),
    LOTTORY_ING(44000, "抽奖中"),
    LOTTORY_LUCKLY(44444, "幸运用户");

    public Integer actionId;
    public String actionDetail;

    ActionCode(Integer actionId, String actionDetail) {
        this.actionId = actionId;
        this.actionDetail = actionDetail;
    }
}
